From dd02fb54d00efdb57111d031879b37dcfa93b755 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild2.aw" Date: Tue, 19 Dec 2006 13:21:24 -0700 Subject: [PATCH] [IA64] sn2 - only get nasid from nodepda if sn_nodepda is available fall back to getting nasid from sal cal if sn_nodepda is not yet available Signed-off-by: Jes Sorensen --- xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c b/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c index ec7c45ef1e..954a2f4bd8 100644 --- a/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c +++ b/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c @@ -438,6 +438,11 @@ void sn2_send_IPI(int cpuid, int vector, int delivery_mode, int redirect) int nasid; physid = cpu_physical_id(cpuid); +#ifdef XEN + if (!sn_nodepda) { + ia64_sn_get_sapic_info(physid, &nasid, NULL, NULL); + } else +#endif nasid = cpuid_to_nasid(cpuid); /* the following is used only when starting cpus at boot time */ -- 2.30.2